package com.woniuxy.homepage.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2021-06-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("car_brand")
@ApiModel(value="CarBrand对象", description="")
public class CarBrand implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "汽车品牌id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "品牌")
    private String brandName;

    @ApiModelProperty(value = "图标")
    private String img;

    @ApiModelProperty(value = "软删除：0.未删除，1.删除")
    private Integer flag;

    @ApiModelProperty(value = "1:热门")
    private Integer hot;


}
